﻿@model EditorialProyectos.Website.Models.ViewProjectViewModel

<div class="jumbotron color-white">
    <div class="row" data-bind="visible: Main.State.CurrentPage() == Controller + 'View'">
        @Html.Partial("ViewPartial", Model)
    </div>

    <div class="row" data-bind="visible: Main.State.CurrentPage() == Controller + 'View'">
        <div data-bind="with: CommentViewModel">
            @Html.Action("GetPartial", "Comment", new { partialName = "MainPartial" })
        </div>
    </div>

    <div class="row" data-bind="visible: Main.State.CurrentPage().indexOf('Investment') != -1">
        <div data-bind="with: InvestmentViewModel">
            @Html.Action("GetPartial", "Investment", new { partialName = "MainPartial" })
        </div>
    </div>
</div>
